Function at 0x437250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov esi, dword [ebx + 0x54]
mov eax, dword [ebx + 0x38]
push edi
mov edi, dword [ebx + 0x50]
mov ebp, dword [esi + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
xor ecx, ecx
add ebp, edi
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
jne 0x437292
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 0x54]
sub eax, dword [esi + 0x68]
jmp 0x4372e0
mov ecx, dword [eax]
mov edx, dword [esi + 0x50]
cmp ecx, edx
ja 0x4378f2
jne 0x4372b0
mov edx, dword [esi + 0x54]
sub edx, dword [esi + 0x68]
cmp dword [eax + 4], edx
ja 0x4378f2
mov edx, dword [esi + 0x74]
cmp edx, ecx
jbe 0x4372c1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
jne 0x4372d7
mov ecx, dword [esi + 0x78]
mov edx, dword [eax + 4]
cmp ecx, edx
jbe 0x4372d7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x437599
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x437599
mov eax, dword [esi + 0x11c]
cmp eax, 0xffffffff
jne 0x437310
mov dword [esp + 0x30], 0
jmp 0x437323
lea eax, [eax + esi + 0x11c]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x4373a6
lea eax, [esp + 0x30]
push eax
push 1
push 0x3c
push edi
call fcn.00468080
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x437595
mov edi, dword [esp + 0x30]
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
push 0x408
lea edx, [ebx + 0x3c]
push ecx
push edx
push eax
call fcn.00439b20
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x43738c
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx + 0x50]
push ecx
push edx
call fcn.00468150
mov eax, dword [esp + 0x1c]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x30]
test byte [eax + 0x24], 1
jne 0x4373e7
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.0042a340
add esp, 8
jmp 0x4373e7
mov ecx, dword [eax + 0x30]
cmp ecx, 0xffffffff
je 0x4373c7
mov edx, dword [eax + 0x34]
sub edx, ecx
mov dword [ecx + eax + 0x34], edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
add ecx, eax
add dword [ecx], edx
jmp 0x4373e7
mov ecx, dword [eax + 0x34]
sub ecx, esi
lea edx, [ecx + eax - 0x11c]
mov dword [esi + 0x120], edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x34]
mov dword [ecx + eax], 0xffffffff
mov edx, dword [esi + 0x108]
lea edi, [esi + 0x10c]
inc edx
mov dword [esi + 0x108], edx
lea edx, [esp + 0x20]
push edx
push edi
call fcn.0042dff0
add esp, 8
test eax, eax
jge 0x437419
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov ecx, dword [esp + 0x24]
mov dword [edi + 4], ecx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov dword [edx + 0x2c], ecx
mov eax, dword [esi + 0x114]
mov ecx, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x437467
sub eax, ecx
lea eax, [eax + esi + 0x114]
mov dword [ecx + 0x30], eax
mov edx, dword [esp + 0x30]
mov ecx, 0x30
mov eax, dword [edx + 0x30]
sub ecx, eax
mov eax, dword [esi + 0x114]
mov dword [esi + eax + 0x148], ecx
jmp 0x437480
mov dword [ecx + 0x30], 0xffffffff
mov edx, dword [esp + 0x30]
sub edx, esi
sub edx, 0xe4
mov dword [esi + 0x118], edx
mov eax, dword [esp + 0x30]
mov ecx, esi
sub eax, esi
sub eax, 0x114
mov dword [esi + 0x114], eax
mov eax, dword [esp + 0x30]
sub ecx, eax
add ecx, 0x114
mov dword [eax + 0x34], ecx
mov eax, dword [ebx + 0x48]
test byte [eax + 0x24], 1
jne 0x4374b9
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.0042a420
add esp, 8
mov eax, dword [esp + 0x30]
test byte [eax + 0x24], 1
jne 0x4374d1
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.0042a340
add esp, 8
mov eax, dword [ebx + 0x48]
test byte [eax + 0x24], 1
jne 0x4374e8
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0042a340
add esp, 8
mov eax, dword [esi + 0x108]
dec eax
mov dword [esi + 0x108], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x38]
mov ecx, eax
and al, 0xfe
mov dword [edx + 0x38], eax
mov eax, dword [esi + 0x11c]
mov edx, dword [esp + 0x30]
and ecx, 1
cmp eax, 0xffffffff
je 0x43753c
sub eax, edx
lea eax, [eax + esi + 0x11c]
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x30]
mov edx, 0x30
sub edx, dword [eax + 0x30]
mov eax, dword [esi + 0x11c]
mov dword [esi + eax + 0x150], edx
jmp 0x437554
mov dword [edx + 0x30], 0xffffffff
mov eax, dword [esp + 0x30]
sub eax, esi
sub eax, 0xec
mov dword [esi + 0x120], eax
mov edx, dword [esp + 0x30]
sub edx, esi
sub edx, 0x11c
mov dword [esi + 0x11c], edx
mov eax, dword [esp + 0x30]
mov edx, esi
sub edx, eax
add edx, 0x11c
test ecx, ecx
mov dword [eax + 0x34], edx
je 0x4372cd
mov eax, dword [esi + 0x6c]
dec eax
mov dword [esi + 0x6c], eax
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x24], eax
jmp 0x437599
mov eax, dword [esp + 0x24]
test byte [ebp + 0x24], 1
jne 0x4375b1
mov ecx, dword [esp + 0x10]
push ebp
push ecx
call fcn.0042a340
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x20]
cmp edx, ecx
jb 0x43775e
jne 0x4375cb
cmp eax, dword [esi + 0x78]
jb 0x43775e
mov eax, dword [esi + 0x60]
xor edi, edi
test eax, eax
je 0x437623
lea edx, [esi + 0x58]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0042dff0
add esp, 8
test eax, eax
jl 0x437623
mov ecx, dword [esi + 0x60]
mov edx, dword [ebx + 0x34]
push ecx
push edx
push ebx
call fcn.00437a30
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x437617
test byte [ebp + 0x24], 1
jne 0x437772
mov eax, dword [esp + 0x10]
push ebp
push eax
jmp 0x43776a
mov dword [esi + 0x60], 0
mov edi, 1
test byte [ebx + 0x30], 4
je 0x437633
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi + 0x50]
cmp ecx, eax
je 0x437648
test edi, edi
je 0x437602
push ebx
call fcn.00437c30
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x437602
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 0x64]
mov edi, dword [esi + 0x60]
mov ebp, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
inc ecx
mov dword [esp + 0x18], edx
test eax, eax
mov dword [esi + 0x6c], ecx
je 0x437682
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x48]
test byte [eax + 0x24], 1
jne 0x437682
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0042a420
add esp, 8
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
add edx, 0x10
push edx
push eax
call fcn.00459480
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4376f2
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 1
jne 0x4376b9
mov esi, dword [esp + 0x10]
push eax
push esi
call fcn.0042a420
add esp, 8
jmp 0x4376bd
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4376dc
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x48]
test byte [eax + 0x24], 1
jne 0x4376dc
push eax
push esi
call fcn.0042a340
add esp, 8
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.0041c850
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov dword [esi + 0x74], ebp
mov dword [esi + 0x78], ebx
test edi, edi
jne 0x437703
mov eax, dword [esp + 0x18]
mov dword [esi + 0x78], eax
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0x24], 1
jne 0x43771d
mov eax, dword [esp + 0x10]
mov edx, ecx
push edx
push eax
call fcn.0042a420
add esp, 8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x437740
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x48]
test byte [eax + 0x24], 1
jne 0x437740
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.0042a340
add esp, 8
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0xa8]
dec ecx
inc eax
mov dword [esi + 0x6c], ecx
mov dword [esi + 0xa8], eax
mov dword [esp + 0x18], 1
jmp 0x437772
test byte [ebp + 0x24], 1
jne 0x437772
mov ecx, dword [esp + 0x10]
push ebp
push ecx
call fcn.0042a420
add esp, 8
mov eax, dword [esi + 0x108]
test eax, eax
je 0x437794
mov eax, dword [esi + 0x114]
mov edi, 1
cmp eax, 0xffffffff
jne 0x4377c6
mov dword [esp + 0x30], 0
mov ebp, dword [esp + 0x18]
cmp dword [esi + 0xc8], ebp
jae 0x4377a6
mov dword [esi + 0xc8], ebp
mov eax, dword [esi + 0xcc]
cmp eax, ebp
ja 0x4377b4
test eax, eax
jne 0x4377ba
mov dword [esi + 0xcc], ebp
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ebp, dword [esp + 0x18]
lea eax, [eax + esi + 0x114]
test eax, eax
mov dword [esp + 0x30], eax
je 0x437798
mov ebx, dword [esp + 0x10]
add eax, 0x28
push eax
lea eax, [esi + 0x74]
push eax
call fcn.0042dff0
add esp, 8
test eax, eax
jle 0x437855
mov eax, dword [esp + 0x30]
test byte [eax + 0x24], 1
jne 0x437809
push eax
push ebx
call fcn.0042a420
mov eax, dword [esp + 0x38]
add esp, 8
mov ecx, dword [eax + 0x30]
cmp ecx, 0xffffffff
je 0x437832
mov edx, dword [eax + 0x34]
sub edx, ecx
mov dword [ecx + eax + 0x34], edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
add ecx, eax
mov eax, dword [ecx]
add eax, edx
inc ebp
mov dword [ecx], eax
jmp 0x4378c8
mov ecx, dword [eax + 0x34]
sub ecx, esi
inc ebp
lea edx, [ecx + eax - 0x114]
mov dword [esi + 0x118], edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x34]
mov dword [ecx + eax], 0xffffffff
jmp 0x4378c8
cmp edi, 1
jne 0x4378c8
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x38]
or edx, edi
mov dword [eax + 0x38], edx
mov eax, dword [esp + 0x30]
test byte [eax + 0x24], 1
jne 0x43787e
push eax
push ebx
call fcn.0042a420
mov eax, dword [esp + 0x38]
add esp, 8
mov ecx, dword [eax + 0x30]
cmp ecx, 0xffffffff
je 0x43789f
mov edx, dword [eax + 0x34]
sub edx, ecx
mov dword [ecx + eax + 0x34], edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
add ecx, eax
add dword [ecx], edx
jmp 0x4378bf
mov ecx, dword [eax + 0x34]
sub ecx, esi
lea edx, [ecx + eax - 0x114]
mov dword [esi + 0x118], edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x34]
mov dword [ecx + eax], 0xffffffff
mov eax, dword [esi + 0x6c]
inc eax
xor edi, edi
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x30]
cmp ecx, 0xffffffff
je 0x4378e5
add eax, ecx
mov dword [esp + 0x30], eax
je 0x437798
jmp 0x4377dd
mov dword [esp + 0x30], 0
jmp 0x437798
mov edx, dword [esp + 0x10]
push str.DB_ENV__log_flush:_LSN_past_current_end_of_log
push edx
call fcn.0041c9b0
add esp, 8
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret